<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Gin</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            text-align: center;
            padding-top: 50px;
        }
        h1 {
            color: #333;
        }
        p {
            font-size: 18px;
            color: #555;
        }
        form {
            margin-top: 20px;
        }
        input {
            padding: 10px;
            margin: 5px;
        }
        button {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <h1>欢迎</h1>
    <p>Gin</p>
    <form id="dataForm" method="post" action="/submit">
        <input type="text" name="message" placeholder="输入一条消息" required>
        <button type="submit">提交</button>
    </form>
    <p>您提交的内容：<span id="submittedMessage">{{ .Message }}</span></p>
</body>
</html>